<script setup>
import { ref,onMounted  } from 'vue';
import ComProjectSInfo from '@/components/coms/ComProjectSInfo.vue'
import { useGlobalStore } from '@/stores/global.js'

const globalStore = useGlobalStore();

onMounted(() => {

  globalStore.getAllComInfo();

})


</script>

<template>

  <a-tabs v-model:activeKey="globalStore.checkedComId">
    <a-tab-pane v-for="(item,index) in globalStore.comInfoS" :key="item?.id"  :tab="item?.comName">
      <ComProjectSInfo></ComProjectSInfo>
    </a-tab-pane>
  </a-tabs>

</template>

<style scoped>

</style>
